﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="SFTJBaseOnSFTJ.aspx.cs" Inherits="WXYW.SFTJBaseOnSFTJ" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    按收款条件查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table width="100%" class="tableList" style="line-height:25px">
        <tr>            
            <td style="color:Blue" colspan="4">
                <b>神州数码客服中心
                <asp:Label ID="totalYearLabel" runat="server" Text=""></asp:Label>年 维修收费统计</b>
            </td>
        </tr>
        <tr>
           <th style="width:15%">年份</th>
           <th>
                总计
           </th>            
           <th>
                应收
           </th>            
           <th>
                实收
           </th>
        </tr>
        <tr>
            <td>
                <asp:DropDownList ID="totalYearDropDownList" runat="server" AutoPostBack="true"
                    OnSelectedIndexChanged="totalYearDropDownList_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td>
                ￥ <asp:Label ID="totalLabel" runat="server" Text=""></asp:Label> 元
            </td>
            <td>
                ￥ <asp:Label ID="shouldLabel" runat="server" Text=""></asp:Label> 元
            </td>
            <td>
                ￥ <asp:Label ID="resultLabel" runat="server" Text=""></asp:Label> 元
            </td>
        </tr>
    </table>
 
    <table width="100%" style="line-height:25px">
        <tr align="center">
            <td colspan="5" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>按条件查询</b>
            </td>
        </tr>
        <tr>
            <td>
                平台
            </td>
            <td>
                <asp:DropDownList ID="serviceStationDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                起始年
                <asp:DropDownList ID="yearDropDownList" runat="server">
                </asp:DropDownList>
                月<asp:DropDownList ID="monthDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                终止年<asp:DropDownList ID="tyearDropDownList" runat="server">
                </asp:DropDownList>
                月<asp:DropDownList ID="tmonthDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Button ID="searchButton" runat="server" Text="查询" OnClick="searchButton_Click" />
            </td>
        </tr>
        <tr style="height: 25px">
            <td colspan="5" align="center" style="color:Blue">
                <b>
                神码数码客服中心<asp:Label ID="serviceLabel" runat="server" Text=""></asp:Label><asp:Label
                    ID="yearLabel" runat="server" Text=""></asp:Label>年<asp:Label ID="monthLabel" runat="server"
                        Text=""></asp:Label>月到<asp:Label ID="tyearLabel" runat="server" Text=""></asp:Label>年<asp:Label
                            ID="tmonthLabel" runat="server" Text=""></asp:Label>月 维修收费清单</b>
            </td>
        </tr>
        <tr>
            <td colspan="5" class="tableList">
                <asp:Repeater ID="formsRepeater" runat="server">
                    <HeaderTemplate>
                        <table width="100%">
                            <tr style="height: 25px">
                                <th>
                                    平台
                                </th>
                                <th>
                                    400特服数量
                                </th>
                                <th>
                                    保修凭证数量
                                </th>
                                <th>
                                    保外备案数量
                                </th>
                                <th>
                                    正常收费金额
                                </th>
                            </tr>
                        
                    </HeaderTemplate>
                    <ItemTemplate>
                            <tr>                        
                            <td>
                                <%#Eval("ServiceStation")%>
                            </td>
                            <td>
                                <%#Eval("TF")%>
                            </td>
                            <td>
                                <%#Eval("BXPX")%>
                            </td>
                            <td>
                                <%#Eval("BWBA")%>
                            </td>
                            <td>
                                ￥<%#Eval("ZCWX")%>元
                            </td> 
                           </tr>                       
                    </ItemTemplate>
                    <FooterTemplate>                        
                        <tr style="color:Red">
                            <td>
                                <b>总计</b>
                            </td>          
                            <%=TotalString %>                  
                         </tr>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
    </table>
</asp:Content>
